package com.lottery.system.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: xiaoxie
 * create: 2024-09-06 22:30
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.controller.param
 * description: 奖品添加的参数
 */
@Data
public class addPrizeParam implements Serializable {
    /**
     * @description: 奖品名称
     * @author: xiaoxie
     **/
    @NotBlank(message = "奖品名称不能为空!")
    private String prizeName;
    /**
     * @description: 奖品描述
     * @author: xiaoxie
     **/
    @NotBlank(message = "奖品描述不能为空!")
    private String description;
    /**
     * @description: 奖品价格
     * @author: xiaoxie
     **/
    @NotNull(message = "奖品价格不能为空!")
    private BigDecimal price;
}
